package edu.gatech.cs2340.teamrocket.model.environment;

import edu.gatech.cs2340.teamrocket.model.team.Team;

/**
 * The daily weathers.
 *
 * @author Joe Tacheron
 */
public enum Weather {
    SUNNYDAY    (Team.MAX_SPEED),
    SNOWYDAY    (Team.MID_SPEED),
    RAINYDAY    (Team.MAX_SPEED),
    THUNDERSTORM(Team.MAX_SPEED),
    BLIZZARD    (Team.MIN_SPEED),
    SANDSTORM   (Team.MID_SPEED),
    WINDY       (Team.MAX_SPEED),
    FOG         (Team.MAX_SPEED),
    HAIL        (Team.MAX_SPEED);

    private int maxWagonSpeed;

    private Weather(int speed){
        maxWagonSpeed = speed;
    }

    /**
     *
     * @return the max speed possible in this weather.
     */
    public int getMaxSpeed(){
        return maxWagonSpeed;
    }
}
